What does the motor draw? Needs to be less than 20.8 amps at 24 volts for the 500W controller. Ideally less for long life. As to what the controller expexts input-wise you'd have to look at the specs. My golf cart controller uses a 5K pot for speed control, direction is switched mechanically. On a bike who needs reverse anyway.
JOnathan