Sounds like you've got some Accessibility features turned on. Try a three fingered tap.
Then go to Settings >> General >> Accessibility and turn off Zoom, if you don't want it to happen any more. Or just read the instruction so you know what the gestures are.