Connecting 2 iPads with a router without internet
You can do this of course.  Any wifi router that the two iPads both support should connect them.  Just don't bother to connect to the Internet.

I'm curious as to why you need this? Most iOS apps don't do peer to peer, though some obviously do.  Bittorrent Sync for one would possibly be useful here.