Actually, there are already some apps which could perform zoom in/out by two fingers, i.e. ArtStudio, Adobe Ideas. Or you can zoom in/out with three fingers by enabling the Accessibility setting on iPad itself. It's a global system feature just like the one on the Mac OS X.