Probably scart to jamma cable (google for info) to get the video and audio out and then pad-hack some old broken PS2 pads to wire the d-pads + buttons to your control panel.
bit of info on why just connecting wires may be inadequate (although there was a thread about a week ago about megadrive to jamma with a video that looked pretty good) YMMV;