As mentioned above pushing hard gears can cause problems and you are prone to overuse injuries. If you have to choose between running and cycling, then cycling is better, but swimming even provides less stress to the knee joint.
I myself have knee problems that stem from overuse and it's something that I deal with on a daily basis, so cycling can cause problems.