Esc button for pause menu
R key for resetting game
can I add input like these in the game
No
then how will the player reset or pause the game
you can add clickable buttons for reset and pause - a lot of mobile games do this