Heavy weight training. Heavy is as heavy as you can lift with good form. To increase muscle mass you will also have to eat at a surplus and lift.
Squats, deadlifts and lunges are good for building up the leg muscles. I find the stationary bike is pretty good.
Have a look at Jamie Eason's livefit on bodybuilding.com.
Fat does not make you fat. It's actually pretty important.