Deforming field theories with U(1) × U(1) global symmetry and their gravity duals