Some of the keys on my keyboard are not working

Probably just dead. I suggest plugging in an external keyboard to test if it's software or hardware. If on the external keyboard the same keys don't work, then you know it is a software issue. Otherwise if the external keyboard works fine, it's a hardware issue.

You can also take it to an Apple Store to get it diagnosed, and if it is broken, fixed.