Drag to look around. Tap the floor to walk there. When you are close to a cat, stroke it slowly.
Slow, gentle strokes win each one over. Everyone has a favorite spot; you will find out which once they are happy with you. Keyboard: W A S D or the arrow keys to move, and hold the space bar next to an animal to pet it.