West Ham United boss Sam Allardyce has confirmed that the Premier League club are in talks with striker Carlton Cole over an extended contract.