Two teens accused of stabbing a student in the bathroom of an Anne Arundel County high school were taken into custody at their residence on base at Fort Meade, authorities say.