Try booting the computer while holding the option key. If it opens the boot menu instead of booting into the OS, the keyboard's fine. Turn off the computer and try the following:
Hold Command+R while booting to reinstall (or at least diagnose) the OS.
If that doesn't work, hold Option+Command+R while booting to do pretty much the same thing, but you'll need an Internet connection.
If that STILL doesn't work, hold Shift+Option+Command+R while booting to install the original OS that came with the MacBook Pro.
By the way, I hope you made a backup of your files prior to upgrading.