£2m grant to drive legal tech innovation