Steve Pemberton and Reece Shearsmith move from TV to the Wyndham's Theatre with a fascinating, multi-layered piece