Steven Gerrard will line out at Anfield in March, taking part in a charity match between Liverpool Legends and Real Madrid Legends.