The robot has an upper arm and a lower arm. Use the right/left arrows on the screen to control the two parts of the arm to grab the asteroids.
Thanks to Scratch_Master_CNL.