The accused were allegedly trying to flee to Nepal, which shares a border with Bahraich district, the officer said