Examples for plants that have caffeine in them are coffee beans , mate , tea leaves and cocoa . Decaffeination is the act of removing caffeine from coffee beans , cocoa , tea leaves and other caffeine-containing materials .