Both of the men charged were already in police custody on unrelated matters