But it seems odd to demand USB for this work. We have bluetooth, wifi, nfc and other connections that would not mandate the phones have USB OTG (most don't!)
Also we have the issue of what data. But let's say you want this. You'll have to write an app for that.
Bob
How to connect two android phones to get data access from each other?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic