Could be anything...
I just chased the same type issue for several weeks. The obvious first step is to pull, clean, grease, and reinstall the BB. Then do the same with the cranks. Make sure torque is to spec. Make sure you also pull the pedals as well. These need regreased and tighted to spec.
However, this did NOT fix my click. I eventually chased it down to the front derailleur/clamp. When I had the bike on the stand I accidentially nudged the FD and heard a click. I found it would move very slightly and click. I pulled it as well, cleaned it, put a light coat of grease on it, and reinstalled. Clicking gone.
(Well, it wasn't really gone). The first ride I had another click and only at the 3 o'clock position. I was ready to junk my custom Seven in the middle of a ride. Took me five miles to look down and realize the rear cadence sensor had moved and was hitting the magnet.
Bottom line...while the BB/Cranks/Pedals are the most likey source, you also need to check other places, including your seatpost, saddle rails, stem, etc.