Connecting wireless keyboard to non Apple monitor
Your Apple (Bluetooth) Keyboard doesn't connect to your monitor, but to your Mac. Open System Preferences and go to bluetooth, there you can connect new devices. Make sure the keyboard is on (there's a power button on the side) - a green LED in the top right of the keyboard (front) should light up when you turn it on.

Link: Apple's Support document with Screenshots.