Tested working on Android, thanks to khokhani1510 :)

http://answers.unity3d.com/questions/504707/replace-input-get-axis-horizontal-with-touch-input.html