Adjusting light on MacOS High Sierra
Are they set to be function keys - there is the "fn" key - have you tried holding that down and tapping the lighting key?

If that works, then you can change the behaviour in system preferences.

You can check this functionality in System Preferences > Keyboard > Keyboard Tab and check to see if the bottom check box ("Use F1, F2, etc...") is checked