Press y to swing sword press c to show shield, and when you you press c and space you will block.
Credit to @Griffpatch for the Health bars.