It's not ideal to use WD-40 on a bike chain. Use a proper bike chain lubricant instead.