Detecting iPhone touches on GameObjects

How can i detect iPhone touch events on a gameobject , for e.g a cube ?

Already there is an inbuilt script is there in unity.
In
StandardAssets->Scripts->GeneralScripts->DragrigidBody.cs

by using this script u can drag and u can detect the touch in iphone