Optimal transport maps on infinite dimensional spaces