The boys, 16 and 17, remain in custody after the girl reported being raped in Bradford, police say.