West Ham manager David Moyes says playing friendly matches will help his squad's preparations for the Premier League restart.