Tottenham Hotspur have given life bans to two supporters after a cup filled with urine was thrown at West Ham United fans during a League Cup match at Wembley.