Just touch the screen! If you touch with two fingers, you can control both the goats as they run forward. If you touch with one finger, you'll control one goat and the other goat will follow it. 
You need to be touching the screen with at least one finger all the time. If you are not touching the screen, the game will pause.