A video did the rounds online of a fan urinating into a cup before the other threw it towards the West Ham section.
The supporters, however, claim it was cider that was in the cup.
After an investigation, the club identified the two men in question and subsequently banned them for life.
A club spokesman said: "This kind of behaviour is not acceptable and we shall be issuing lifetime bans to both individuals in the video."