The power button is on its right side, and the slot to replace battery is on the left side. Make sure you turn on the keyboard and the battery is full of charge.
Plug your keyboard in other USB ports, and plug other devices (like U-disk) to troubleshoot keyboard and USB port. Make sure the keyboard is connected with Mac via USB port firmly. Ways to Fix Apple Wired/Wireless Keyboard