Two men were arrested in the investigation into drug distribution in Ocean County, the prosecutor's office said.