This has happened to me twice - loss of internet/data access on cellular (though voice still works) - both times after switching back and forth across a couple of different wifi networks at work.
The solution was to go to Settings - General - Network and toggle cellular data off then back on...