Quantum walks in external gauge fields