You may go to the system preferences display preferences and check if you can modify the brightness from there. If yes then the keyboard has a problem. Try with an external USB keyboard.
open