How to convert PC game for mobile play?

I have made a really simply ball game. The right arrow key makes you go right, left arrow key makes you go left. Space jumps. ESC pauses. And you use your mouse to click buttons that navigate you through the game. Well, the more I made it I realized this could be the next Flappy Birds. But I’ve already made it for Windows, Linux, and Mac. How do I make it a mobile game. i have NEVER made a mobile game. Only desktop ones. Will someone help me?

In the main menu it’s just buttons you click on. Same as the pause menu when you hit ‘ESC’. But how do I convert that into a mobile game?

Also here all you do is hold the arrow keys to move him left/right and hit space to make him jump. How do I convert that into a mobile play?

I would suggest downloading several free mobile games and see how they handle touch screen input.

You could use this which normally works.

     if(Input.MousePosition.x < Screen.Width / 2)
     {
         Debug.log("left side is clicked or pressed")
     }
     else
     {
         Debug.log("right side is clicked or pressed")
     }

you are splitting the screen in half to do the movement from left to ritght.
So to jump you could create a button which would move the ball upwards with a velocity and speed but when it falls down it would rely on the rules of gravity. You will have to figure that out yourself, sorry