Could be something called corn leaf aphid. Never had it myself. I understand that it's not a major problem if the plant has already been pollinated. (if it hasn't been by now, you are unlikely to get any sweetcorn anyway, it's a bit late.)
Blast them of with strong jets of water, or use a spray containing horticultural soft soap, or squish them with your fingers.