The easiest way to control a relatively low current 12-24V motor is by using a generic analog DC motor speed controller. This type of controller has a potentiometer to vary the speed of the motor. These controllers can be found with a wide range of power ratings.