@ jennkrys... you have coffee dried into the mechanisms of the keyboard and on the electrical contact areas of said non-functioning keys. If you are thinking of replacing the keyboard anyways here is a trick you can try. If you have the time and patience it could be a cheap fix.

1: Remove the keyboard from your laptop.

2: In warm water add a very little amount of dishwashing soap and let the keyboard soak for about 20 minutes. This should soften and release the sticky coffee off contact areas. Sloshing it around doesn't hurt.

3: Rince well with warm running water.

4:With compressed air such as those compressed air bottles that are used to dust off electronic parts, dry off the keyboard till you see no more water goblets at all when blowing compressed air onto it. You cannot let it drip dry because water will remain trapped in tight areas for many days.

NOTE: It is critical that you are certain that the board is very dry before reinstalling it.

5: Re-install the keyboard, and if you did your job well, all sticking keys and nonfunctioning keys should work.

I have a friend who "washes" keyboards for large companies who are constantly spilling coffee and stuff into the keyboards. This is what he does except with large specialized machines, yet the process is the same.