Actors Martin Freeman and Jack Lowden are to star in a play about addiction that has been transferred to the West End.