The Ministry of Justice (MoJ) confirmed two men died in custody on Wednesday.