The 16F876 has two PWM channels, you can use those to feed motors. To actually feed motors you need to use some kind of driver, an H Bridge is probably a good idea, as it would allow you to drive the motor in both directions.
One of my tutorials gives simple code for using a 16F876 to feed PWM to two motors, suitable for use with small robots.