I assume that your motor already has commutation circuitry. In that case, you need to build a 'buck' converter and use a PIC with a hardware PWM port to drive the FET. If the motor has a tachometer output, you will need to drive the high side (using a P-channel FET), because most tachometers are ground-referenced.
Bookmarks