Mac users interested in Virtual midi keyboard by mercury squad generally download:
Virtual MIDI Keyboard displays a musical keyboard on the screen. You can use your computer keyboard to trigger notes just as you would play a normal MIDI keyboard. You can also use your mouse to do the same.
The idea for a virtual MIDI keyboard was born out of the necessity for such a software on the Linux and Mac platforms.