Assuming maschine is a generic midi controller, you can control ardour or a separate drum machine app with it. If you use only ardour you can add drums as midi instruments (using sound font drum kits via fluidsynth plugin for example), or a specialised drum instrument plugin. Or you can use hydrogen or another drum machine app separately and connect it to ardour via jack and ladish.
See also my recent forum post on ways of connecting hydrogen to ardour.