The L293 can only control direction... to control speed you need to "pulse" the signal off and on very quicly... The technique is called Pulse Width Modulation, or PWM for short. Many microcontrollers have a PWM command that will make it very easy to do.