The unidentified US citizens crossed the border to purchase medication, Mexico's president says.