Mobile ui question

ive got a game that the pc version requires a key press to do something.

now I’m trying to transition this to a mobile version so how do I do this?

what do I need to add to the game so that it recognises a key press equivalent do I need fingerswipes etc?