A good friend of mine had double knee replacement done a couple of years ago and after going through the rehab therapy he was back on his Valkyrie and going strong. You would be surprised how many riders are out there who have had knees replaced. The main thing is to do the therapy and you should be fine.
I had a left hip replacement last December and when Spring rolled around, I was riding again.
Good Luck!