Golden Bananas are earned by simply playing levels. You can earn up to 18 golden bananas per day (6 for the first play of the day and then 1 every 4 hours).