Answer
$CN^-$ : Lewis Base
$H^+$ : Lewis Acid
Work Step by Step
The $CN^-$ has a free pair of electrons, and when it reacts with $H_2O$, the $H^+$ will receive that pair.
Since $CN^-$ donates one pair of electrons, it is the Lewis base.
Since $H^+$ receives a pair of electrons, it is the Lewis acid.