Touch the screen and jump two time with the same height

Hello,

Please i have a problem, that i cant solve since a few days.
I want to make that a ball jump two time. First when we touch the screen. If the ball is grounded, it can jump and the second time when it is in the air. and with the same height.

This is my code, what i tried

     void update {
if (Physics.Raycast(transform.position, -Vector3.up, raycastDistance))
                {
                    isGrounded = true;
                    airCount = maxAirCount;
                }
                else
                {
                    isGrounded = false;
                }
        
                if (isGrounded)
                {
                    rb.velocity = Vector3.right * 190f * Time.deltaTime;
                }
        
                //Für Touch
                if (Input.touches.Length > 0)
                {
                    for (int i = 0; i < Input.touchCount; i++)
                    {
                        if ((Input.GetTouch(0).phase == TouchPhase.Began))
                            if (isGrounded)
                            {
                                rb.velocity = new Vector3(200f * Time.deltaTime, rb.velocity.y + normalJumpForce * Time.deltaTime, 0);
                            }
                            else if (airCount > 0)
                            {
                                airCount -= 1;
                                rb.velocity = new Vector3(200f * Time.deltaTime, rb.velocity.y + normalJumpForce * Time.deltaTime, 0);
                            }
                    }
                }
}

The ball moves to the right. The height varies always.
Please i need your help !!

Try this script…

using UnityEngine;
using System.Collections;

public class BallJump : MonoBehaviour {

private CharacterController controller;
private Vector3 force;
private int count =0;
private bool isGrounded;
// Use this for initialization
void Start ()
{
	controller = this.GetComponent<CharacterController> ();
	force = new Vector3 (0f,250f,0f);
}

// Update is called once per frame
void Update () 
{
	MouseInput ();
	if(isGrounded)
	{
		count =0;
	}
}
void OnCollisionStay(Collision col)
{
	if(col.transform.tag == "Ground")
	{
		isGrounded =true;
	}
}
private void MouseInput()
{
	if(Input.GetMouseButtonDown(0))
	{

		count++;
		if(count <2)
		{
			isGrounded = false;
			rigidbody.velocity = Vector3.zero;
			rigidbody.AddForce(force);
		}
	}
	else if(Input.GetMouseButtonUp(0))
	{
		gameObject.rigidbody.useGravity = true;
	}
}

}