Screen not moving up when keyboard opens

I have a app in which I require that when keyboard opens, the screen should move up. But I am unable to get that working. Can anyone advice please… Thanks in advance