One was shot in the knee and one grazed in the head.
The victims were rushed to Jacobi Medical Center with non-life threatening injuries.
Police said numerous young men fled the scene following the shooting. Some were taken into custody, but it was not clear if they were involved.