You've got a bad fuse in the master fuse block. Open the hood, passenger side in front of the battery.
Depending on what year your TJ is, it will have a different name, but there is a master fuse for the ignition. If you still have your owners manual, it will tell you which one. It's probably blown. Hopefully, it's just the fuse and not a ground somewhere.