Quantum Ising model in a period-2 modulated transverse field