Open the aperture wide (f/1.8-f/2.8 is ideal) and increase the ISO to 800 or higher if necessary. Try to capture interesting parts of the action, like when the ball is in midair or when a player dunks the ball. For multiple shots use the burst shooting mode and hold down the shutter button as long as desired.