Hi Shrivas!
Unfortunately, the way to control stepper motors often differs significantly from servos. The control of the former usually requires some sort of intermediary hardware like the A3967 IC and the hookup scheme might differ from stepper to stepper (4wire, 6wire or 8wire configuration for instance). The servos, on the other hand, are controlled with PMWs by varying the pulse width.
The good news, from the bonsai side, depending on your application, and as long as you have the intermediary board, it is very feasible to activate the stepper with a vanilla firmata code. You set the configuration pins (direction, MSX and Enable) and the Step instruction using digitalWrites.
Any chance you can post the links of the hardware (stepper, driver or shield, etc..) you are using so I can take a look?
Cheers,
Bruno