That depends on what you are trying to do. If you are trying to record drum beats as audio (like you would for a vocal track, or a electric guitar), than any drum machine will do. If you are looking to record the drum parts as MIDI files, than you'll need a device with a MIDI out on it.
Unless you intend to use the drum machine for other purposes (like live performance, for instance), I think you will be much better off with a software based sequencer program. It will be a LOT more flexible and you'll have many more options in terms of sounds. It's not the best one out there by any means, but I'm using FruityLoops 4.1 right now, and it gets the job done.