When the ball is close enough to your character, click the right mouse button. It might be kinda hard if you're playing it for the first time. I recommend you to play in practice mode first. There, you can throw the ball to the wall and practice your catching timing :)