In New York City, Michael Phelps announced a grant from Visa to the Y.M.C.A. to encourage children to exercise and learn to swim.