iOS 5 now lets you mirror your iPad 2 on your television set. You'll also need an Apple TV running iOS 5 to do this.
Here's how to set it up. Make sure your TV and Apple TV are both on, and make sure the Apple TV is connected to your TV.
1. Double tap the Home button and scroll to the AirPlay icon. Tap it and you'll see a menu popup on the screen.
2. Tap on Apple TV and then tap on the Mirroring check box.
3. Now everything you do on your iPad 2 will be shown on your television's screen.
4. To turn off mirroring, just double tap the Home button and tap the AirPlay icon again. Tap the iPad option instead of Apple TV.