There is an action called Simulate Control.
First off, if you don't want to use the arrow keys, turn off default controls.
<img src="http://content.screencast.com/users/ArcadEd/folders/Jing/media/ab585492-a03c-44c3-b3aa-692dbdeee721/2013-06-27_1013.png" border="0" />
Simulate Controls. You will use this same technique for touch screens, you will just add Sprites for each direction and on TOUCH, simulate the platform controls.
<img src="http://content.screencast.com/users/ArcadEd/folders/Jing/media/c67e80e6-84dd-4b93-a4f4-47eece7c881f/2013-06-27_1015.png" border="0" />