Touch Controls to Zoom and Pan

I am trying to be able to touch and drag to spin around an object, and pinch to zoom in and out of the object. I cannot seem to find any good documentation on how to implement this on a mobile device. Does anyone have any tips or tutorials on how to enable this functionality?