STEP 1
velocity of c.g. of link 1 in terms of joint velocities& joint angle q (generalised co-ordinate)
where
similarly
STEP 2 & 3
Using velocities of c.g.'s of links
To get the rotational part of K.E.
Angular velocities of link 1 and 2 are