The two accused allegedly abused him using caste-based slurs and assaulted him on October 18