You have to understand the implications for efficiency and current. When you put a a 20" (328 rpm) motor in a 700C wheel, it will draw maximum current nearly all the time it's below 20 mph, which will overheat your controller. If you fitted the motor to a road bike and were able to cruise at 20mph plus, it'll be no problem. That will only work if you wear tight clothing, are relatively fit and light, and you pedal hard. I'm assuming it's a small motor.
Wheel size is like gearing, it has a direct relation to torque. If you need a lot of torque to get your weight up hills, you need to think carefully about your choice of motor.