Two teenage boys have been charged with rape, in Hampshire.