You can access your Mac from your iPhone or iPad through a remote desktop client like Splashtop or LogMeIn if you already have something like this installed. Are you sure that your keyboard is 'discoverable'? (Hold button until light comes on and then goes off. Release button, then depress agin. The light will come on, hold for for about 3 seconds then let go. The light on the keyboard should be blinking in a 3 flash succession.) If it doesn't connect to the Mac after this, you'll need to get/borrow/buy a USB Keyboard (It's always good to have one of these handy anyway when you have a wireless accessory setup as your main way of connecting with your Mac).
Once you do get in to your system, be sure and go to System Preferences>Bluetooth and make sure that the 'Discoverable' box is checked. Also, go on to the Advanced pane and make sure that the box that says "Open Bluetooth Setup Assistant at startup if no trackpad or mouse is detected" is Checked.
Results?