Hard to say when we dont know how hard you lift/ride and in what shape you are already in. As long as you are not overtraining you should be OK i think. My only possible suggestion would be to take a day off from riding on fridays after you lift legs. this would give your muscles more time to recover from the lifting, and its the recovery that is most important in weight training.