Two teenagers have been arrested after a boy was taken to hospital with stab wounds.