HCN is a Bronsted acid; it can dissociate into H+ and CN-. And H+ is a Lewis acid because it accepts election pairs. ... In order for H+ and CN- to be formed, Hydrogen in HCN donates its electrons to Carbon. So in this sense, Hydrogen is the lewis base and Carbon is the lewis acid.
Never mind, I did the problem wrong, I deeply apologize.
Elements in the same group have similar reactivities. For example, elements in group 1 are highly reactive, since they can all take in 7 electrons. Hope I helped!