InputGestureText property is used to add keyboard shortcut to the menu item. The following code adds CTRL+O to a menu item.
<MenuItem IsCheckable="true" Header="_Open" InputGestureText="Ctrl+O">