To spin the windmill, start by holding your device perpendicular to the ground, then spin around in circles. That motion is what gets it turning.
For the touchscreen method: move your iPod Touch or iPhone to the right, turn it upside down, then turn it to the right again. Turn it right one more time so it's right side up. Once you've done that sequence, the windmill should be spinning, and all you have to do is wait.