David Moyes says he will punish Arthur Masuaku for spitting at Nick Powell during West Ham's FA Cup defeat to Wigan.