Ive had two instances of clicking on two different bikes. Bike one had a faulty drive side bottom bracket cup bearing. Replaced the bearing cups and it went away. The second was caused by the bottom bracket flex on the downward stroke of the drive side where the front derailleur was being touched slightly by the chain. Good luck in finding your clicking because I know how much I hated it.