Two militants manage to escape from police custody