Hello
Use TouchScreenButton and place them in scene
In mobile there keyboard only touch, so you should put the touchscreenbutton to do same functionality
Also you can show touch input buttons only on mobile so your game works on both
Hope that’s helpful