which may be difficult with a non-working keyboard but you can try.

Hold down the Command + Option + P + R keys at the first chime and keep them down until the second chime.

Uninstall VIrtualBox, if you can and see if it goes away.

Boot from the OS X installation disk and see if you have a working keyboard in that.