Two in custody after leading police on pursuit