Scotland’s cycling infrastructure is to receive a financial boost with four projects to benefit from investment worth just short of £500,000.