Prolonged bike riding does not cause azoospermia, as long as you sit correctly while riding it. Moreover, you can use certain systems to protect your testicles.
Misusing the bicycle on a regular basis can increase the temperature of your scrotum, preventing sperm production and diminishing sperm quality.
It should be noted that too much vigorous exercise can affect sperm production aside from other body functions.
Suggested for you: What Are the Causes of Azoospermia?.